package com.mrd.gtimpframe.base;

/**
 * 泛型接口，用于继承
 * 
 * @author han
 * @param <T>
 */
public interface BaseService<T> {

  int deleteByPrimaryKey(Object id);

  int insert(T t);

  int insertSelective(T t);

  T selectByPrimaryKey(Object id);

  int updateByPrimaryKeySelective(T t);

  int updateByPrimaryKey(T t);
}
